package com.xlh.dao.cs;

import com.xlh.pojo.cs.CourseWork;
import com.xlh.pojo.cs.CourseWorkExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseWorkMapper {
    long countByExample(CourseWorkExample example);

    int deleteByExample(CourseWorkExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CourseWork record);

    int insertSelective(CourseWork record);

    List<CourseWork> selectByExample(CourseWorkExample example);

    CourseWork selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CourseWork record, @Param("example") CourseWorkExample example);

    int updateByExample(@Param("record") CourseWork record, @Param("example") CourseWorkExample example);

    int updateByPrimaryKeySelective(CourseWork record);

    int updateByPrimaryKey(CourseWork record);
}